<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>投票中心</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <!--<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">-->
    <link rel="stylesheet" href="__STATIC__/style/weui.min.css">
    <link rel="stylesheet" href="__STATIC__/style/cmgd.css">
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="/static/admin/js/layer/layer.js"></script>
    <script src="/static/admin/js/laypage/laypage.js"></script>
    <script src="/static/admin/js/laytpl/laytpl.js"></script>

    <!--奥森图标-->
    <link rel="stylesheet" href="__STATIC__/style/FontAwesome_4.2.0/css/font-awesome.min.css">
    <style>
        .text{padding-left:9px; }
        .placeholder{text-align: center;}
        .fl{text-align: left;}
        .black{color:#000; font-weight: 600;font-size:17px; line-height: 1.8;}
        .color1{color:#30ab88;}
        .color2{color:#1aafe7;}
        .color3{color:#ffc242;}
        .edit{font-size:13px;color:#999;padding-left: 20px;}
        .color4{color:#eb6877;}
        .weui-cell__bd p i{padding: 0 10px 0 2px; font-size: 20px;}
        .weui-cell__bd p{font-size:16px;}

        .form-control {
            background-color: #FFF;
            background-image: none;
            border: 1px solid #e5e6e7;
            border-radius: 1px;
            color: inherit;
            display: block;
            padding: 6px 12px;
            -webkit-transition: border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s;
            transition: border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s;
            width: 70%;
            font-size: 14px;
        }

    </style>
</head>
<body>


<!--顶部搜索-->
<div class="page home js_show">

    <!--选择导航-->
    <div class="page__bd ">
        <div class="weui-flex">
            <div class="weui-flex__item"><div class="placeholder" style="font-size: 18px;">{$vote.title}</div></div>
        </div>

        <div class="weui-flex">
            <div class="weui-flex__item"><div class="placeholder" style="text-align: left;font-size: 14px;">{$vote.addtime1}&nbsp;&nbsp;&nbsp;&nbsp;{$vote.instit_name}</div></div>
        </div>

        <div style="padding: 0 12px 20px 12px;">
            {$vote.content}
        </div>

        <div class="weui-flex">
            <div class="weui-flex__item"><div class="placeholder" style="padding-top: 10px;border-top:1px #000 solid;font-size: 18px;">报名信息</div></div>
        </div>

        <div>

            <form class="form-horizontal" name="userAdd" id="userAdd" method="post" action="{:url('Usercenter/baoming')}">


            {foreach name='xiangmu' item='v'}
                <div class="weui-flex" style="padding: 5px 12px;">
                    <div><div class="placeholder" style="padding-left: 10px;" >{$v.name}</div></div>
                    <div class="weui-flex__item"><div class="placeholder" style="text-align: left;padding-left: 5px;"><input type="text" name="{$v.title}"  class="form-control"    > </div></div>
                    <div><div class="placeholder"></div></div>
                </div>
            {/foreach}

                <input type="hidden" value="{$vote.id}" name="baoming_id">
            <div style="padding: 20px 50px;clear: both;"><a href="javascript:;" id="smt" class="weui-btn weui-btn_primary"> 提交</a></div>
            </form>
        </div>



    </div>

</div>
</body>
<script type="text/javascript">
    $('#smt').click(

            function(){
                $('#userAdd').submit();
            }




    );

</script>


</html>